package com.xiao.mall.foundation.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author fanghong
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class EntityEventData implements Serializable {

    private static final long serialVersionUID = -2781922053819937137L;

    private String[] propertyNames;

    private Object[] states;

    private Object[] oldStates;

    private int[] changeIndexs;

    private Object entity;

    private Serializable id;

    private String operationMethod;

    private String className;

    private String classFullName;
}
